package com.wolfpire.workflow.om;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name = "jbpm4_task")
public class JbpmTask implements Serializable {
	
//	DBID_	NUMBER(19)	N			
//	CLASS_	CHAR(1 CHAR)	N			
//	DBVERSION_	NUMBER(10)	N			
//	NAME_	VARCHAR2(255 CHAR)	Y			
//	DESCR_	CLOB	Y			
//	STATE_	VARCHAR2(255 CHAR)	Y			
//	SUSPHISTSTATE_	VARCHAR2(255 CHAR)	Y			
//	ASSIGNEE_	VARCHAR2(255 CHAR)	Y			
//	FORM_	VARCHAR2(255 CHAR)	Y			
//	PRIORITY_	NUMBER(10)	Y			ha
//	CREATE_	TIMESTAMP(6)	Y			
//	DUEDATE_	TIMESTAMP(6)	Y			
//	PROGRESS_	NUMBER(10)	Y			
//	SIGNALLING_	NUMBER(1)	Y			
//	EXECUTION_ID_	VARCHAR2(255 CHAR)	Y			
//	ACTIVITY_NAME_	VARCHAR2(255 CHAR)	Y			
//	HASVARS_	NUMBER(1)	Y			
//	SUPERTASK_	NUMBER(19)	Y			
//	EXECUTION_	NUMBER(19)	Y			
//	PROCINST_	NUMBER(19)	Y			
//	SWIMLANE_	NUMBER(19)	Y			
//	TASKDEFNAME_	VARCHAR2(255 CHAR)	Y			
//	TIMEOUT_	CHAR(1)	Y
	
	@Id
	@Column(name="DBID_")
	private String dbId;
	
	@Column(name="EXECUTION_ID_")
	private String instanceId;
	
	@Column(name="ACTIVITY_NAME_")
	private String taskName;
	
	@Column(name="CREATE_")
	private Date createTime;
	
	@Column(name="TIMEOUT_")
	private String timeout;
	
	@Column(name="RECEIVE_TIME_")
	private Date receiveTime;
	
	@Column(name="ASSIGNEE_")
	private String assignee_;
	
	@Column(name="FORM_")
	private String form_;
	
	@Column(name = "PROCINST_")
	private Long procinst;
	

	public String getDbId() {
		return dbId;
	}

	public void setDbId(String dbId) {
		this.dbId = dbId;
	}

	public String getInstanceId() {
		return instanceId;
	}

	public void setInstanceId(String instanceId) {
		this.instanceId = instanceId;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getTimeout() {
		return timeout;
	}

	public void setTimeout(String timeout) {
		this.timeout = timeout;
	}
	
	public Date getReceiveTime() {
		return receiveTime;
	}

	public void setReceiveTime(Date receiveTime) {
		this.receiveTime = receiveTime;
	}

	public String getAssignee_() {
		return assignee_;
	}

	public void setAssignee_(String assignee_) {
		this.assignee_ = assignee_;
	}

	public String getForm_() {
		return form_;
	}

	public void setForm_(String form_) {
		this.form_ = form_;
	}

	public Long getProcinst() {
		return procinst;
	}

	public void setProcinst(Long procinst) {
		this.procinst = procinst;
	}

}
